projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b2893e1
)
MPC8360E-MDS: configure and enable second UART
author
Anton Vorontsov
<
[email protected]
>
Wed, 14 Nov 2007 15:54:53 +0000
(18:54 +0300)
committer
Kim Phillips
<
[email protected]
>
Tue, 8 Jan 2008 15:55:39 +0000
(09:55 -0600)
Despite user manual, BCSR9.7 is negated (high) on HRST, so
UART2 is disabled. Fix that and configure QE pins properly.
Signed-off-by: Anton Vorontsov <
[email protected]
>
board/freescale/mpc8360emds/mpc8360emds.c
patch
|
blob
|
history
diff --git
a/board/freescale/mpc8360emds/mpc8360emds.c
b/board/freescale/mpc8360emds/mpc8360emds.c
index e050cd4395ab28fcc6c59539825421a755617e9f..538a556c6033fc36b1320381b5fe74b149cbd398 100644
(file)
--- a/
board/freescale/mpc8360emds/mpc8360emds.c
+++ b/
board/freescale/mpc8360emds/mpc8360emds.c
@@
-87,6
+87,11
@@
const qe_iop_conf_t qe_iop_conf_tab[] = {
{0, 1, 3, 0, 2}, /* MDIO */
{0, 2, 1, 0, 1}, /* MDC */
+ {5, 0, 1, 0, 2}, /* UART2_SOUT */
+ {5, 1, 2, 0, 3}, /* UART2_CTS */
+ {5, 2, 1, 0, 1}, /* UART2_RTS */
+ {5, 3, 2, 0, 2}, /* UART2_SIN */
+
{0, 0, 0, 0, QE_IOP_TAB_END}, /* END of table */
};
@@
-106,6
+111,9
@@
int board_early_init_f(void)
immr->sysconf.spridr == SPR_8360E_REV21)
bcsr[0xe] = 0x30;
+ /* Enable second UART */
+ bcsr[0x9] &= ~0x01;
+
return 0;
}